linkText
Type
property
Summary
Attaches data to a section of text in a field.
Syntax
set the linkText of <chunk> of <field> to <textString>
Description
Use the linkText property to store the destination of a link, the text of an associated file, a definition, or other data along with a chunk of text in a field.
The linkText property can be set for any chunk in a field.
However, it is most useful when used with grouped text. If the linkText of grouped text is set to a value, the value is passed with the linkClicked message when the user clicks the text. This lets you use the linkText to specify the destination of a link or other data to use when the text is clicked.
Examples
set the linkText of line 2 to 3 of field "Contents" to "Leaves of Grass"
Related
glossary: property, grouped text, message, chunk
keyword: file, field, link, string
message: linkClicked
property: scriptTextSize, fixedLineHeight
Compatibility and Support
Introduced
LiveCode 1.1
OS
mac
windows
linux
ios
android
Platforms
desktop
server
mobile